import './App.scss'
import {useRoutes, NavLink} from 'react-router-dom'
import routes from '@/router/index'
function App() {
  return (
    <>
    <nav>
      <NavLink to="/home">Home</NavLink>
      <NavLink to="/about">About</NavLink>
    </nav>
    <div className='App'>{useRoutes(routes)}</div>
    </>
  )
}

export default App
